package com.watson.minio.springminio.file.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @Author: fan
 * @Data: 2021/5/8 9:50
 * @Version: 1.0v
 */
@Data
@TableName("t_file_manage")
public class FileManage {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Long id;

    @ApiModelProperty(value="入参时的文件名")
    private String name;

    @ApiModelProperty(value="上传时的文件名")
    private String uploadName;

    @ApiModelProperty(value="文件类型")
    private String type;

    @ApiModelProperty(value="文件所属模块")
    private String module;

    @ApiModelProperty(value="文件后缀")
    private String suffix;

    @ApiModelProperty(value="是否是图片 0-不是 1-是")
    private Integer isPicture;

    @ApiModelProperty(value="文件大小")
    private Long size;

    @ApiModelProperty(value="文件来源")
    private String src;

    @ApiModelProperty(value="文件访问路径")
    private String accessPath;

    @ApiModelProperty(value="md5")
    private String md5;

    @ApiModelProperty("创建人id")
    private String createBy;

    @ApiModelProperty("创建人名称")
    private String createByName;

    @ApiModelProperty("创建时间")
    private Date createAt;



}
